const Router = require('koa-router')
const { verifyAuth } = require('../middleware/auth.middleware')
const { createComment } = require('../controller/comment.controller')

const commentRouter = new Router({ prefix: '/comment' })
commentRouter.post('/', verifyAuth, createComment)

module.exports = commentRouter
